/*
 * http://themeforest.net/item/flatter-multipurpose-theme-for-your-creativity/full_screen_preview/6651922
 */
@import 'lib/reset';
@import 'lib/share';
@import 'lib/color';

.logo {
  text-align: center;
  padding-bottom: 20px;
}

header.cl {
  &.main {
    height: 144px;
    margin: 40px auto 86px auto;
    nav {
      &.main {
        li {
          height: 76px;
          width: 31.333333%;
          line-height: 76px;
          text-align: center;
          margin: 1%;
        }
        a {
          color: #fff;
          letter-spacing: 2px;
          word-spacing: 2px;
          font-size: 20px;
          display: inline-block;
          width: 100%;
        }
      }
    }
    ul {
      margin: 0;
      padding: 0;
    }
    li {
      float: left;
    }
  }
}

.cl {
  &.nav {
    ul {
      margin: 0;
    }
  }
}

.cl {
  &.container  {
    max-width: 1000px;
  }
}

.cl {
  &.search {
    &.button {
      width: 100%;
      height: 30px;
    }
    &.field {
      width: 100%;
    }
  }
}

#totop {
  position: fixed;
  right: 0;
  bottom: 30px;
  width: 80px;
  height: 42px;
  cursor: pointer;
  font-size: 21px;
  opacity: 0;
  margin-right: -80px;
  transition: opacity .4s, margin-right .3s;
  -webkit-transition: opacity .4s, margin-right .3s;
  -moz-transition: opacity .4s, margin-right .3s;
  -ms-transition: opacity .4s, margin-right .3s;
}

footer.cl {
  &.main {
    height: 60px;
    width: 100%;
  }
}

#showside {
  display: block;
  position: fixed;
  width: 74px;
  height: 34px;
  text-align: center;
  left: 50%;
  bottom: 0;
  margin-left: -17px;
  line-height: 34px;
  background-color: rgba(198, 198, 198, .78);
  z-index: 10002;
}

@media handheld, only screen and (max-width: 768px) {
  header.cl.main {
    nav {
      padding-bottom: 40px;
      &.main a {
        font-size: 28px;
      }
    }
  }
}